﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Core.DataAccess;

namespace Core.BusinessLogic.Interfaces
{
    public interface IWorkPlaceService
    {
        void SaveWorkPlace(WorkPlace wp);
        void SaveAccountWorkPlace(AccountWorkPlace awp);
        List<WorkPlace> GetWorkPlaceListByAccountID(Int32 accountID);
        WorkPlace GetWorkPlaceByWPID(Int32 wpID);
        WorkPlace GetWorkPlaceByCompanyName(string companyName);
        List<AccountWorkPlace> GetAccountWorkPlaceListByUsername(string username);
        List<AccountWorkPlace> GetAccountWorkPlaceListByAccountID(Int32 accountID);
        List<Account> GetAllFriendsWorkplaceByAccountID(int accountID, string workplaceName);
        WorkPlace GetWorkPlaceByAccountID(int accountID);
        int UpdateWorkPlaceInfo(int accountID, WorkPlace workplace);
        int UpdateAccountWorkPlaceInfo(int accountID, AccountWorkPlace accWorkplace,int workplaceID);
    }
}
